<?php

namespace Music\ApiBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * PlayList
 *
 * @ORM\Table("playlist")
 * @ORM\Entity
 */
class PlayList
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @ORM\Column(name="song_id", type="string", length=64, nullable=false)
     */
    private $song_id;
    
    /**
     * @ORM\Column(name="name", type="string", length=1000, nullable=false)
     */
    private $name;
    
    /**
     * @ORM\Column(name="current_played", type="integer", nullable=true)
     */
    private $current_played;
    
    /**
     * @ORM\Column(name="ignore_count", type="integer", nullable=true)
     */
    private $ignore_count;
    
    /**
     * @ORM\Column(name="likes", type="integer", nullable=true)
     */
    private $likes;
    
    /**
     * @ORM\Column(name="added_by", type="string", length=1000, nullable=true)
     */
    private $added_by;
    
    /**
     * @ORM\Column(name="has_deleted", type="integer", nullable=true)
     */
    private $has_deleted;
    
    /**
     * @ORM\Column(name="change_track", type="integer", nullable=true)
     */
    private $change_track;
    
    
    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set song_id
     *
     * @param string $songId
     * @return PlayList
     */
    public function setSongId($songId)
    {
        $this->song_id = $songId;

        return $this;
    }

    /**
     * Get song_id
     *
     * @return string 
     */
    public function getSongId()
    {
        return $this->song_id;
    }

    /**
     * Set current_played
     *
     * @param integer $currentPlayed
     * @return PlayList
     */
    public function setCurrentPlayed($currentPlayed)
    {
        $this->current_played = $currentPlayed;

        return $this;
    }

    /**
     * Get current_played
     *
     * @return integer 
     */
    public function getCurrentPlayed()
    {
        return $this->current_played;
    }

    /**
     * Set ignore_count
     *
     * @param integer $ignoreCount
     * @return PlayList
     */
    public function setIgnoreCount($ignoreCount)
    {
        $this->ignore_count = $ignoreCount;

        return $this;
    }

    /**
     * Get ignore_count
     *
     * @return integer 
     */
    public function getIgnoreCount()
    {
        return $this->ignore_count;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return PlayList
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set likes
     *
     * @param integer $likes
     * @return PlayList
     */
    public function setLikes($likes)
    {
        $this->likes = $likes;

        return $this;
    }

    /**
     * Get likes
     *
     * @return integer 
     */
    public function getLikes()
    {
        return $this->likes;
    }

    /**
     * Set added_by
     *
     * @param string $addedBy
     * @return PlayList
     */
    public function setAddedBy($addedBy)
    {
        $this->added_by = $addedBy;

        return $this;
    }

    /**
     * Get added_by
     *
     * @return string 
     */
    public function getAddedBy()
    {
        return $this->added_by;
    }

    /**
     * Set has_deleted
     *
     * @param integer $hasDeleted
     * @return PlayList
     */
    public function setHasDeleted($hasDeleted)
    {
        $this->has_deleted = $hasDeleted;

        return $this;
    }

    /**
     * Get has_deleted
     *
     * @return integer 
     */
    public function getHasDeleted()
    {
        return $this->has_deleted;
    }

    /**
     * Set change_track
     *
     * @param integer $changeTrack
     * @return PlayList
     */
    public function setChangeTrack($changeTrack)
    {
        $this->change_track = $changeTrack;

        return $this;
    }

    /**
     * Get change_track
     *
     * @return integer 
     */
    public function getChangeTrack()
    {
        return $this->change_track;
    }
}
